package com.zqh.authority.dao;

import com.zqh.authority.entity.SysRoleOrgEntity;
import com.zqh.common.dao.BaseMapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

/**
 * 角色与机构的关系
 *
 * @author wangzheng
 * @email wangzheng19851019@163.com
 * @url www.sungohealth.com
 * @date 2017年8月17日 上午11:29:43
 */
@MapperScan
public interface SysRoleOrgMapper extends BaseMapper<SysRoleOrgEntity> {

	List<Long> listOrgId(Long roleId);
	
	int batchRemoveByOrgId(Long[] id);
	
	int batchRemoveByRoleId(Long[] id);
	
}
